package com.event.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 学习资料模块
 * </p>
 *
 * @author 孤雏
 * @since 2021-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="StudySrc对象", description="学习资料模块")
public class StudySrc implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资料id")
    @TableId(value = "src_id", type = IdType.ID_WORKER)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long srcId;

    @ApiModelProperty(value = "资料的科目名")
    private String srcName;

    @ApiModelProperty(value = "资料链接")
    private String srcUrl;

    @ApiModelProperty(value = "资料密码")
    private String srcPsw;

    @ApiModelProperty(value = "是否有新资料")
    private Boolean hasNew;

    @ApiModelProperty(value = "资料的内容简介")
    private String srcBrief;

    @ApiModelProperty(value = "资料的目录结构")
    private String srcMenu;
    @ApiModelProperty(value = "资料的类型")
    private String srcType;



}
